using System;

namespace SimpleServiceBus.Utilities.ObjectBuilder
{
    public interface IObjectBuilder
    {
     
        T Build<T>();

        object Build(Type typeToBuild);

        T TryBuild<T>();

        object TryBuild(Type typeToBuild);

        void RegisterSingleton<SingletonType>(SingletonType singleton);

       
    }
}